home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presen…rary 5 (Internal Edition)
/
Apple R&P Lib Internal v5.0.iso
/
6-Developer Demos
/
Developer Demos-Ed.
/
Macintosh School® CD-ROM Demo
/
Macintosh SchoolÆ CD-ROM Demo
/
card_6193.txt
< prev
next >
Wrap
Text File
|
1990-08-14
|
5KB
|
201 lines
-- card: 6193 from stack: in
-- bmap block id: 6479
-- flags: 4000
-- background id: 4754
-- name: Course Details
----- HyperTalk script -----
on rollingDemo
answer "Course Details demo will take approx. 2 min." with "Cancel" or "OK"
if it is "Cancel" then exit rollingDemo
set the cursor to none
lock screen
go to card "Rolling Demo Instructions" of this background
unlock screen with dissolve fast
repeat until the mouseClick
end repeat
set the cursor to hand
autoMouse moveMouse,420,60
click at the loc of bg button id 7
showInfo "Introduction",false
wait 1 second
set the cursor to hand
autoMouse menuMouse,2,1 -- New Course…
if the result is "Item not found" then -- test for XCMD bug
send "doMenu New Course…" to background "Course Details"
end if
set the cursor to none
wait 1 second
type "100"
wait 30
tabKey
type "Biology"
wait 30
tabKey
type "Biology 102"
wait 1 second
put "Science" into card field "Department"
wait 1 second
put "12" into card field "Grade"
wait 1 second
select text of card field "Credits"
type "2.000"
wait 30
select text of card field "Sequence #"
type "4"
wait 30
tabKey
type "20"
wait 1 second
click at the loc of button id 32
wait 1 second
click at the loc of button id 33
wait 1 second
click at the loc of button id 37
wait 1 second
click at the loc of button id 38
wait 1 second
click at the loc of button id 39
wait 1 second
click at the loc of button id 40
wait 2 seconds
click at the loc of background button "CD Scheduler"
wait 1 second
type "2"
wait 1 second
click at the loc of button id 5
wait 1 second
click at the loc of button "Requires a teacher"
wait 1 second
click at the loc of button "Requires a room"
wait 1 second
select text of card field "Maximum"
type "30"
wait 30
tabKey
type "25"
wait 2 seconds
click at the loc of background button "CD Periods"
select empty
showInfo "Periods tab 1",true
wait 1 second
tabKey
type "5"
wait 30
tabKey
type "1"
wait 30
tabKey
type "5"
wait 30
click at the loc of button "same periods each day"
wait 2 seconds
lock screen
put "(not set)" into background field "Working on"
repeat with index = 1 to the number of card fields
put empty into card field index
end repeat
set hilite of button "same periods each day" to false
unlock screen with dissolve
showInfo "Periods tab 2",true
wait 1 second
lock screen
repeat with index = 11 to 20
set hilite of button id index to false
end repeat
unlock screen
wait 30
lock screen
repeat with index = 31 to 40
set hilite of button id index to false
end repeat
unlock screen
wait 30
click at the loc of button "Extra Monday"
wait 1 second
tabKey
type "4"
wait 30
tabKey
type "1"
wait 30
tabKey
type "3"
wait 30
click at the loc of button "same periods each day"
wait 1 second
click at the loc of button "consecutive periods"
wait 2 seconds
click at the loc of background button "CD Lists"
wait 1 second
put "History - 11" & return & "-" into card field "Prerequisites"
wait 2 seconds
click at the loc of button "Co-requisites"
wait 2 seconds
click at the loc of button "Rooms"
wait 1 second
put "Any room" & return & "-" into card field "Rooms"
wait 30
put "107 classroom (30)" & return before card field "Rooms"
wait 30
put "106 classroom (30)" & return before card field "Rooms"
wait 2 seconds
click at the loc of button "Programs"
wait 1 second
click at the loc of button "Required 1"
wait 1 second
click at the loc of button "Generate Requests 1"
showInfo "Lists tab",true
wait 1 second
click at the loc of background button "CD Comments"
select empty
showInfo "Comments tab",true
wait 1 second
tabKey
type "This course covers the following: theories of evolution, "
type "cell structure…."
click at the loc of background button "Done"
lock screen
send "doMenu About" to background "Course Details"
end rollingDemo
on showInfo fieldName,cardPict
lock screen
set the cursor to none
restoreMenuBar false
grayPicture cardPict
installMenuBar 1050,1051,1052,1053,1054
show card field fieldName
unlock screen with dissolve
put the secs into temp
repeat until the mouseClick
if (the secs - temp) > 30 then show card field "Continue"
end repeat
lock screen
hide card field fieldName
hide card field "Continue"
pop card
unlock screen with dissolve
if the optionKey is down then exit to HyperCard
end showInfo
-- part contents for background part 5
----- text -----
Course Details
-- part contents for background part 6
----- text -----
The Course Details module allows you to enter information about courses offered in your school. This information includes:
• course name
• credits
• min/max class size
• rooms to schedule course
• course description
• course length in terms
• course length in periods
• prerequisites
• co-requisites
• and much more scheduling info.
Data entered in Course Details mainly affects the Scheduling module, but also supplies information to Report Cards and the Report Manager.